﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="User.aspx.cs" Inherits="Directory.Web.Admin_User" Theme="Admin_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>用户信息</title>
</head>
<body>
    <form id="form1" runat="server">
	<div class="container">
		<div class="pageheader">
			<span style="color:Red;">用户管理</span>
			<%-- 帮助文档 --%>
			<DirectoryControl:Manual ID="Manual1" runat="server">
				<table>
					<col width="30%" style="font-weight:bold;" />
					<col width="70%" />
					<tr>
						<td>CustomRole</td>
						<td>普通会员角色，所有用户都属于该角色</td>
					</tr>
					<tr>
						<td>CategoryMgr</td>
						<td>该角色用户可以进行【条目管理】</td>
					</tr>
					<tr>
						<td>RootCategoryMgr</td>
						<td>该角色目录用户可以在【条目管理】中添、删、编辑一级目录</td>
					</tr>
					<tr>
						<td>SecurityMgr</td>
						<td>该角色用户可以进行【权限设置】</td>
					</tr>
					<tr>
						<td>SiteSettingsMgr</td>
						<td>该角色用户可以进行【站点管理】</td>
					</tr>
					<tr>
						<td colspan="2" style="color:Red;">被锁定用户将不能登录网站</td>
					</tr>
				</table>
			</DirectoryControl:Manual>
		</div>
		<div>
			<table>
				<tr>
					<td>
						<table>
							<tr>
								<td>用户名：</td>
								<td>
									<asp:Literal ID="ltName" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>Email：</td>
								<td>
									<asp:Literal ID="ltEmail" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>昵称：</td>
								<td>
									<asp:Literal ID="ltNickName" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>真实姓名：</td>
								<td>
									<asp:Literal ID="ltRealName" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>描述：</td>
								<td>
									<asp:Literal ID="ltDescription" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>身份证号码：</td>
								<td>
									<asp:Literal ID="ltPIN" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>QQ：</td>
								<td>
									<asp:Literal ID="ltQQ" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>手机：</td>
								<td>
									<asp:Literal ID="ltHandSet" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>固定电话：</td>
								<td>
									<asp:Literal ID="ltPhone" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>MSN：</td>
								<td>
									<asp:Literal ID="ltMSN" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>地址：</td>
								<td>
									<asp:Literal ID="ltAddress" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>邮编：</td>
								<td>
									<asp:Literal ID="ltPostCode" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>个人主页：</td>
								<td>
									<asp:Literal ID="ltWebpage" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>注册时间：</td>
								<td>
									<asp:Literal ID="ltCreateDate" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td>最后登录时间：</td>
								<td>
									<asp:Literal ID="ltLastLoginDate" runat="server"></asp:Literal></td>
							</tr>
							<tr>
								<td colspan="2">
									<center>
										<asp:Button ID="btnLock" runat="server" Text="锁定用户" OnClick="btnLock_Click" />
										<asp:Button ID="btnUnlock" runat="server" Text="解除锁定" OnClick="btnUnlock_Click" />
										&nbsp; &nbsp;
										<asp:Button ID="btnDelete" runat="server" Text="删除用户" onclick="btnDelete_Click" />
										&nbsp; &nbsp;
										<input type="button" onclick="parent.RefreshPage();" value="返回" class="input_Button" />
									</center>
							   </td>
							</tr>
						</table>
				</td>
					<td>
						<p>所属角色</p>
						<asp:CheckBoxList ID="cblList" runat="server"></asp:CheckBoxList>
						<p>
							<asp:Button ID="btnSaveRole" runat="server" Text="应用修改" OnClick="btnSaveRole_Click" />
							<input type="reset" value="取消修改" class="input_Button" />
						</p>
					</td>
				</tr>
			</table>
		</div>
    </div>
    </form>
</body>
</html>
